package com.tz.hospital.service.impl;

import java.util.List;

import com.tz.hospital.entity.hospital_class;
import com.tz.hospital.entity.hospital_doctor;
import com.tz.hospital.entity.hospital_emp;
import com.tz.hospital.entity.hospital_staff;
import com.tz.hospital.entity.ypyp;
import com.tz.hospital.mapper.registermapper;
import com.tz.hospital.service.presService;
import com.tz.hospital.service.registerService;

public class registerServiceImpl implements registerService{
	registermapper rm=new registermapper();
	@Override
	public List<hospital_class> allClass() {
		// TODO Auto-generated method stub
		return rm.allClass();
	}
	@Override
	public List<hospital_doctor> allDoctor() {
		// TODO Auto-generated method stub
		return rm.allDoctor();
	}
	@Override
	public List<hospital_doctor> tjdoctor(int ksid) {
		// TODO Auto-generated method stub
		return rm.tjdoctor(ksid);
	}
	
	@Override
	public List<hospital_doctor> wdoctor(int ksid) {
		// TODO Auto-generated method stub
		return rm.wdoctor(ksid);
	}
	@Override
	public String monday(int ksid) {
		// TODO Auto-generated method stub
		return rm.monday(ksid);
	}
	@Override
	public List<hospital_emp> login(String tel, String pass) {
		// TODO Auto-generated method stub
		return rm.login(tel, pass);
	}
	@Override
	public List<hospital_emp> tjemp(int brid) {
		// TODO Auto-generated method stub
		return rm.tjemp(brid);
	}
	@Override
	public String getDateOfWeek(int work) {
		// TODO Auto-generated method stub
		return rm.getDateOfWeek(work);
	}
	@Override
	public List<hospital_class> idClass(int ksid) {
		// TODO Auto-generated method stub
		return rm.idClass(ksid);
	}
	@Override
	public int insertgh(int ksid, int ysid, int brid, String ghdate) {
		// TODO Auto-generated method stub
		return rm.insertgh(ksid, ysid, brid, ghdate);
	}
	@Override
	public List<hospital_doctor> loginys(String tel, String pass) {
		// TODO Auto-generated method stub
		return rm.loginys(tel, pass);
	}
	@Override
	public int addachi(int ysid) {
		// TODO Auto-generated method stub
		return rm.addachi(ysid);
	}
	@Override
	public List<ypyp> seeypjl(int cfid) {
		// TODO Auto-generated method stub
		return rm.seeypjl(cfid);
	}
	@Override
	public int jtwork(String work) {
		// TODO Auto-generated method stub
		return rm.jtwork(work);
	}
	@Override
	public List<hospital_staff> loginyg(int ygid, int bmid) {
		// TODO Auto-generated method stub
		return rm.loginyg(ygid, bmid);
	}

}
